package com.zfy.cmsservice.utils;

public class ScoreUtils {
//    成绩评级
    public static String evaluateScore(int score) {
        if (score >= 90) {
            return "优秀";
        } else if (score >= 80) {
            return "良好";
        } else if (score >= 70) {
            return "中等";
        } else if (score >= 60) {
            return "及格";
        } else {
            return "不及格";
        }
    }
}
